package com.pwt.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pwt.annotation.Update;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author dw
 * @version 1.0.0
 * @date 2021/9/1
 */
@Data
@Schema(description = "机器模型")
public class MachineManageModel {

    @Schema(name = "mId",description = "机器管理id")
    private Integer mId;

    @Schema(name = "mNumber",description = "机器编号")
    @NotBlank(message = "名称不能为空！")
    private String mNumber;

    @Schema(name = "mName",description = "机器名称")
    private String mName;

    @Schema(name = "pId",description = "工序名称")
    private Integer pId;

    @Schema(name = "pNumber",description = "工序编号")
    private String pNumber;

    @Schema(name = "pName",description = "工序名称")
    private String pName;



}
